package cn.hzking.gjmall.bean;

import java.util.List;

import cn.hzking.gjmall.net.base.BaseEntity;

/**
 * Created by Administrator on 2018/4/17.
 */

public class MyCouponBean extends BaseEntity {

    /**
     * data : {"couponDetailQuery":{"couponId":0,"couponTypeId":0,"createUser":0,"delFlag":0,"endPos":0,"id":0,"module":[{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":200,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":201,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":202,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":203,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":204,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":false,"availablePartItem":true,"beginTime":1522216940000,"bindCustomItemId":64,"categoryId":64,"couponId":179,"couponItemType":"GROUP","couponTypeId":0,"createUser":9,"createdAt":1522216935000,"delFlag":0,"description":"","discount":1,"endTime":1522303340000,"enoughMoney":0,"faceValue":10,"free":false,"id":209,"includeItem":"custom_category_items:64","name":"测试优惠券","status":0,"updateUser":9,"updatedAt":2018,"userId":9}],"pageIndex":0,"pageSize":1000000,"startPos":0,"status":0,"totalPage":1,"totalRecord":6,"updateUser":0,"updatedAt":0,"userId":9}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * couponDetailQuery : {"couponId":0,"couponTypeId":0,"createUser":0,"delFlag":0,"endPos":0,"id":0,"module":[{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":200,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":201,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":202,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":203,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":204,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":false,"availablePartItem":true,"beginTime":1522216940000,"bindCustomItemId":64,"categoryId":64,"couponId":179,"couponItemType":"GROUP","couponTypeId":0,"createUser":9,"createdAt":1522216935000,"delFlag":0,"description":"","discount":1,"endTime":1522303340000,"enoughMoney":0,"faceValue":10,"free":false,"id":209,"includeItem":"custom_category_items:64","name":"测试优惠券","status":0,"updateUser":9,"updatedAt":2018,"userId":9}],"pageIndex":0,"pageSize":1000000,"startPos":0,"status":0,"totalPage":1,"totalRecord":6,"updateUser":0,"updatedAt":0,"userId":9}
         */

        private CouponDetailQueryBean couponDetailQuery;

        public CouponDetailQueryBean getCouponDetailQuery() {
            return couponDetailQuery;
        }

        public void setCouponDetailQuery(CouponDetailQueryBean couponDetailQuery) {
            this.couponDetailQuery = couponDetailQuery;
        }

        public static class CouponDetailQueryBean {
            /**
             * couponId : 0
             * couponTypeId : 0
             * createUser : 0
             * delFlag : 0
             * endPos : 0
             * id : 0
             * module : [{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":200,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":201,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":202,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":203,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":204,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},{"availableAllItem":false,"availablePartItem":true,"beginTime":1522216940000,"bindCustomItemId":64,"categoryId":64,"couponId":179,"couponItemType":"GROUP","couponTypeId":0,"createUser":9,"createdAt":1522216935000,"delFlag":0,"description":"","discount":1,"endTime":1522303340000,"enoughMoney":0,"faceValue":10,"free":false,"id":209,"includeItem":"custom_category_items:64","name":"测试优惠券","status":0,"updateUser":9,"updatedAt":2018,"userId":9}]
             * pageIndex : 0
             * pageSize : 1000000
             * startPos : 0
             * status : 0
             * totalPage : 1
             * totalRecord : 6
             * updateUser : 0
             * updatedAt : 0
             * userId : 9
             */

            private int couponId;
            private int couponTypeId;
            private int createUser;
            private int delFlag;
            private int endPos;
            private int id;
            private int pageIndex;
            private int pageSize;
            private int startPos;
            private int status;
            private int totalPage;
            private int totalRecord;
            private int updateUser;
            private int updatedAt;
            private int userId;
            private List<ModuleBean> module;

            public int getCouponId() {
                return couponId;
            }

            public void setCouponId(int couponId) {
                this.couponId = couponId;
            }

            public int getCouponTypeId() {
                return couponTypeId;
            }

            public void setCouponTypeId(int couponTypeId) {
                this.couponTypeId = couponTypeId;
            }

            public int getCreateUser() {
                return createUser;
            }

            public void setCreateUser(int createUser) {
                this.createUser = createUser;
            }

            public int getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(int delFlag) {
                this.delFlag = delFlag;
            }

            public int getEndPos() {
                return endPos;
            }

            public void setEndPos(int endPos) {
                this.endPos = endPos;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPageIndex() {
                return pageIndex;
            }

            public void setPageIndex(int pageIndex) {
                this.pageIndex = pageIndex;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getStartPos() {
                return startPos;
            }

            public void setStartPos(int startPos) {
                this.startPos = startPos;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getTotalRecord() {
                return totalRecord;
            }

            public void setTotalRecord(int totalRecord) {
                this.totalRecord = totalRecord;
            }

            public int getUpdateUser() {
                return updateUser;
            }

            public void setUpdateUser(int updateUser) {
                this.updateUser = updateUser;
            }

            public int getUpdatedAt() {
                return updatedAt;
            }

            public void setUpdatedAt(int updatedAt) {
                this.updatedAt = updatedAt;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public List<ModuleBean> getModule() {
                return module;
            }

            public void setModule(List<ModuleBean> module) {
                this.module = module;
            }

            public static class ModuleBean {
                /**
                 * availableAllItem : true
                 * availablePartItem : false
                 * beginTime : 1522200928000
                 * bindCustomItemId : 0
                 * categoryId : 0
                 * couponId : 177
                 * couponItemType : ALL
                 * couponTypeId : 0
                 * createUser : 9
                 * createdAt : 1522200928000
                 * delFlag : 0
                 * description :
                 * discount : 1
                 * endTime : 1523064928000
                 * enoughMoney : 0
                 * faceValue : 10
                 * free : false
                 * id : 200
                 * includeItem :
                 * name : ceshi
                 * status : 0
                 * updateUser : 9
                 * updatedAt : 2018
                 * userId : 9
                 */

                private boolean availableAllItem;
                private boolean availablePartItem;
                private long beginTime;
                private int bindCustomItemId;
                private int categoryId;
                private int couponId;
                private String couponItemType;
                private int couponTypeId;
                private int createUser;
                private long createdAt;
                private int delFlag;
                private String description;
                private int discount;
                private long endTime;
                private double enoughMoney;
                private double faceValue;
                private boolean free;
                private int id;
                private String includeItem;
                private String name;
                private int status;
                private int updateUser;
                private int updatedAt;
                private int userId;

                public double getFaceValue() {
                    return faceValue;
                }

                public void setFaceValue(double faceValue) {
                    this.faceValue = faceValue;
                }

                public boolean isAvailableAllItem() {
                    return availableAllItem;
                }

                public void setAvailableAllItem(boolean availableAllItem) {
                    this.availableAllItem = availableAllItem;
                }

                public boolean isAvailablePartItem() {
                    return availablePartItem;
                }

                public void setAvailablePartItem(boolean availablePartItem) {
                    this.availablePartItem = availablePartItem;
                }

                public long getBeginTime() {
                    return beginTime;
                }

                public void setBeginTime(long beginTime) {
                    this.beginTime = beginTime;
                }

                public int getBindCustomItemId() {
                    return bindCustomItemId;
                }

                public void setBindCustomItemId(int bindCustomItemId) {
                    this.bindCustomItemId = bindCustomItemId;
                }

                public int getCategoryId() {
                    return categoryId;
                }

                public void setCategoryId(int categoryId) {
                    this.categoryId = categoryId;
                }

                public int getCouponId() {
                    return couponId;
                }

                public void setCouponId(int couponId) {
                    this.couponId = couponId;
                }

                public String getCouponItemType() {
                    return couponItemType;
                }

                public void setCouponItemType(String couponItemType) {
                    this.couponItemType = couponItemType;
                }

                public int getCouponTypeId() {
                    return couponTypeId;
                }

                public void setCouponTypeId(int couponTypeId) {
                    this.couponTypeId = couponTypeId;
                }

                public int getCreateUser() {
                    return createUser;
                }

                public void setCreateUser(int createUser) {
                    this.createUser = createUser;
                }

                public long getCreatedAt() {
                    return createdAt;
                }

                public void setCreatedAt(long createdAt) {
                    this.createdAt = createdAt;
                }

                public int getDelFlag() {
                    return delFlag;
                }

                public void setDelFlag(int delFlag) {
                    this.delFlag = delFlag;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public int getDiscount() {
                    return discount;
                }

                public void setDiscount(int discount) {
                    this.discount = discount;
                }

                public long getEndTime() {
                    return endTime;
                }

                public void setEndTime(long endTime) {
                    this.endTime = endTime;
                }

                public double getEnoughMoney() {
                    return enoughMoney;
                }

                public void setEnoughMoney(double enoughMoney) {
                    this.enoughMoney = enoughMoney;
                }

                public void setEnoughMoney(int enoughMoney) {
                    this.enoughMoney = enoughMoney;
                }





                public boolean isFree() {
                    return free;
                }

                public void setFree(boolean free) {
                    this.free = free;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getIncludeItem() {
                    return includeItem;
                }

                public void setIncludeItem(String includeItem) {
                    this.includeItem = includeItem;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getUpdateUser() {
                    return updateUser;
                }

                public void setUpdateUser(int updateUser) {
                    this.updateUser = updateUser;
                }

                public int getUpdatedAt() {
                    return updatedAt;
                }

                public void setUpdatedAt(int updatedAt) {
                    this.updatedAt = updatedAt;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }
            }
        }
    }
}
